app.controller("commonController",function ($scope,userLoginService) {
    $scope.showName=function(){
        userLoginService.showName().success(
            function(response){
                $scope.loginName=response.loginName;
                $scope.headPic=response.headPic;
            }
        );
    }
});